<?php

class PromotedPublicPropsWithAV
{
    public function __construct(
        public public(set) string $prop1 = 'value',
        public protected(set) int $prop2 = 0,
        public private(set) ?string $prop3 = null
    ) {
    }
}
